
lst = [90, 29, 39, 78, 66, 54, 57]
# 将列表中的每个是偶数的元素都*2    求整个列表的和
result = 0
for i in range(len(lst)):
    n = lst[i]
    if lst[i] % 2 == 0:
        n *= 2
    result += n

print(result)

